dsh-aliyun-quota: View Aliyun quota and spending in the DSH sidebar
dsh-aliyun-quota is a DSH plugin (maintained by 20132556, MIT licensed, 1 star on GitHub, categorized as a networking utility) that brings queries for Aliyun account quotas and spending into the DSH sidebar. It allows viewing available balance, voucher denominations and remaining amounts, expiration reminders (including the 300 RMB voucher for student verification), as well as monthly spending, daily spending, bill trends for the past 8 months, and token usage by model/billing item. Data is sourced from Alibaba Cloud's official BSS OpenAPI (QueryAccountBalance, QueryCashCoupons, QueryAccountBill, DescribeInstanceBill). It features zero dependencies, a hand-written HMAC-SHA1 signature, and server-side routes restricted to local loopback access. The quota cache is set to 45 seconds, and the bill cache is set to 5 minutes. It requires the AliyunBSSReadOnlyAccess permission for a RAM user; you can use plaintext keys or environment variables. To install, run `dsh plugin --profile desktop add dsh-aliyun-quota` and restart the desktop application.
Read More